package com.hmdp.utils;

public interface ILock {

    //尝试获取锁  timeoutSec锁持有的超时时间，过期后自动释放
    boolean tryLock(long timeoutSec);

    void unlock();
}
